package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanMapper {
    List<NursingPlanVo> query();

    void add(NursingPlan nursingPlan);

    Page<NursingPlanVo> search(String name, Integer pageNum, Integer pageSize, Integer status);

    NursingPlanVo getById(Long id);

    void update(NursingPlan nursingPlan);

    void delete(Long id);

    void statusAlter(Long id, Integer status);
}
